projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b0590d
)
* fileio.c (Fexpand_file_name): Omit confusing pointer comparison
author
Paul Eggert
<eggert@cs.ucla.edu>
Sun, 10 Feb 2013 08:26:56 +0000
(
00:26
-0800)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Sun, 10 Feb 2013 08:26:56 +0000
(
00:26
-0800)
that was not needed.
src/ChangeLog
patch
|
blob
|
history
src/fileio.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 05d69382855f98cfbccfc75b595988eebac1388b..a9a92e0cbab2a7df8628aba7917d80e32a33665e 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,8
@@
+2013-02-10 Paul Eggert <eggert@cs.ucla.edu>
+
+ * fileio.c (Fexpand_file_name): Omit confusing pointer comparison
+ that was not needed.
+
2013-02-09 Paul Eggert <eggert@cs.ucla.edu>
Minor hashing refactoring.
diff --git
a/src/fileio.c
b/src/fileio.c
index 1b293e3a97144c3d2d0a667eab0bebc779ab1548..ddf238671046a1226dfbfbee3ab2d434c5f4c15b 100644
(file)
--- a/
src/fileio.c
+++ b/
src/fileio.c
@@
-1348,8
+1348,8
@@
filesystem tree, not (expand-file-name ".." dirname). */)
#ifdef WINDOWSNT
char *prev_o = o;
#endif
- while (o != target && (--o
) && !IS_DIRECTORY_SEP (*o
))
- ;
+ while (o != target && (--o
, !IS_DIRECTORY_SEP (*o)
))
+
continue
;
#ifdef WINDOWSNT
/* Don't go below server level in UNC filenames. */
if (o == target + 1 && IS_DIRECTORY_SEP (*o)